/*
* @(#)DmsDocumentNameConvertor.java
*
* Copyright (c) 2003 DCIVision Ltd
* All rights reserved.
*
* This software is the confidential and proprietary information of DCIVision
* Ltd ("Confidential Information").  You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the license
* agreement you entered into with DCIVision Ltd.
 */

package com.dcivision.dms.core;

import java.util.HashMap;

import com.dcivision.dms.bean.DmsDocument;
import com.dcivision.framework.ApplicationException;

/**
 * <p>Class Name:       DmsDocumentNameConvertor.java    </p>
 * <p>Description:      This class is providing an interface for all kind of method on Document creation physically.</p>
 * @author              Zoe Shum
 * @company             DCIVision Limited
 * @creation date       08/08/2003
 * @version             $Revision: 1.4 $
 */

public interface DmsDocumentNameConvertor {

  /* Input the dmsDocument and encrypt the dmsDocument name */
  public abstract String encryptDocumentName (DmsDocument dmsDocument) throws ApplicationException;

  /* Input the dmsDocument and decrypt the dmsDocument name */
  public abstract HashMap decryptDocumentName (String documentName) throws ApplicationException;


}